How to install Mp4box on CentOS 6Mp4box is a MP4 multiplexer. It can import MPEG-4 video, DivX, XviD, 3ivx, H264 etc, audio streams and subtitles into the. mp4 container. The end result is a compliant MP4 stream. It can also extract streams from a. mp4. Mp4box is a command line tool, but can be used with graphical user interfaces such as Yamb or my mp4box GUI.First of all install the Freeglut packagesYum-y Install freeglut.x86_64 freeglut-devel.x86_64Note:you'll need GCC and gcc++ packages to m
, Libvorbis, Libogg, Lame, OPENCORE-AMR, x264, Xvidcore E TC 3. Install Flvtool2 This RPM package are available on RPM Fusion repo. But it also requires Ruby RPMs. However, it is not recommend to install Ruby RPMs on a cpanel server. Cpanel have its own Ruby installer script. So install ruby using following cpanel script
/scripts/installruby
Flvtool2 is available as a Ruby Gems package. Use following gem command to install Flvtool2:
gem install flvtool2
4. Install Mp4bo
save on space,A hint can contain a pointer to the media track, instead of duplicatingThat data.Installation process:Tar Xvfz mpeg4ip-1.6.1.tar.gzCD mpeg4ip-1.6.1./bootstrap--prefix=/usr/local/mpeg4ip--enable-ffmpeg=/usr/local/ffmpeg--disable-player--disable-serverIf the error is as follows: Util/testnasm.sh:line 8:test: =: unary operator expectedPlease:Check for the following text in the "Configure" file:Billsnasm_arg= ' Nasm-r | Tr '. ' ""and replace The-r with-vSave and run bootstrap again.Ma
Http://demo860.blogspot.com/2010/06/ffmpeg-libx264-build-for-android.html
FFmpeg/libx264 build for android1) Requirement
-Ndk R4: Please use ndk R4 instead of ndk R3.
-Using ndk R4 new option, you can know the detail build option.
-Please get FFMPEG http://www.ffmpeg.org/download.html
-Please get libx264 http://www.videolan.org/developers/x264.html
2) Build option for libx264
Export arm_root =/export/home/Android/ndkExport arm_inc = $ arm_root/build/platforms/Android-5/arch-arm/usr/include/Ex
the file;
B) MP4 files are read by Darwin and Darwin, converted to ts streams, and streamed;
It has been verified that the Darwin server does not support streaming ts. In the describe stage of the RTSP command, the error code 514 is returned: Unsupported media type.
Request: Describe rtsp: // 10.57.26.88/test. Ts RTSP/1.0/R/n
Method: Describe
URL: rtsp: // 10.57.26.88/test. Ts
Response: RTSP/1.0 415 unsupported media type/R/n
Status: 415
The current solution has the following two options:
A)
Reprinted: http://blog.csdn.net/zgyulongfei/article/details/7440254
Step: 1. decompress the x264 package. Assume that the decompressed directory is libx264.
2. Create a script file myconfig. Sh in the libx264 directory, and paste the code in myconfig. Sh.
The script is as follows:
# !/bin/sh export ARM_ROOT=/home/frank/android-ndk-r4bexport ARM_INC=$ARM_ROOT/build/platforms/android-8/arch-arm/usr/include/export ARM_LIB=$ARM_ROOT/build/platforms/android-8/arch-arm/usr/lib/export ARM_TOOL=$ARM_ROO
= 15 + 1 = 16 samples need to be searched.
3. Check sample-to-chunk atom to obtain the first sample of the 5th chunks. The chunk has 4 samples.
4. Check that the chunk offset atom finds that the offset of the 5th trunk is 20472.
5. Because 16th samples are the first sample of 5th trunks, you do not need to check the sample size atom. The trunk offset is the offset of the sample 20472. If it is the second sample of the trunk, find the size of the previous sample of the trunk from the sample size
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.